#pragma once
#include "Article.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>

#include "ArticleRegister.h"

using namespace std;

class Sport :
	public Article
{
private:
	vector<string> players;
public:

	Sport()	{ }

	Sport(int id, string date, string title, string writer, int n, string keyword, vector<string> players)
		:Article(id, date, title, writer, n, keyword)
	{
		this->players = players;
	}

	~Sport()
	{
	}

	virtual void print()
	{
		Article::print();
		cout << endl << "Players: ";
		for (auto s : players)
		{
			cout << s << ", ";
		}
	}
};

